package com.heima.model.comment.dtos;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

@Data
public class CommentSaveDTO implements Serializable {
    /**
     * 文章id
     */
    private Long articleId;
    /**
     * 评论内容
     */
    @Length(max = 140)
    private String content;
}